public class JIDLInteger implements JIDLNumber, java.io.Serializable
java.lang.Object
|
+--com.idl.javaidl.JIDLInteger
JIDLNumber, java.io.Serializable
The JIDLInteger class wraps an int as a mutable object usable by the Java-IDL Export bridge.
Member Summary |
|
Constructors |
|
|
Construct a wrapper object. |
|
Construct a wrapper object. |
Methods |
|
boolean |
Return the value of the wrapped primitive. |
byte |
Return the value of the wrapped primitive |
char |
Return the value of the wrapped primitive |
double |
Return the value of the wrapped primitive |
float |
Return the value of the wrapped primitive |
int |
Return the value of the wrapped primitive |
long |
Return the value of the wrapped primitive |
void |
Change the value of the wrapper object |
void |
Change the value of the wrapper object |
short |
Return the value of the wrapped primitive |
java.lang.String |
Return the value of the wrapped primitive |
Inherited Member Summary |
Methods inherited from class Object |
equals(Object), getClass(), hashCode(), notify(), notifyAll(), wait(long, int), wait(long, int), wait(long, int) |
public JIDLInteger(int value)
Construct a wrapper object.
value - value to wrap for use in the export bridge
public JIDLInteger(com.idl.javaidl.JIDLNumber value)
Construct a wrapper object.
value - JIDLNumber to wrap for use in the export bridge
public boolean booleanValue()
Return the value of the wrapped primitive.
booleanValue in interface JIDLNumber
true if non-zero, false otherwise
public byte byteValue()
Return the value of the wrapped primitive
byteValue in interface JIDLNumber
value that is wrapped by this object
public char charValue()
Return the value of the wrapped primitive
charValue in interface JIDLNumber
value that is wrapped by this object
public double doubleValue()
Return the value of the wrapped primitive
doubleValue in interface JIDLNumber
value that is wrapped by this object
public float floatValue()
Return the value of the wrapped primitive
floatValue in interface JIDLNumber
value that is wrapped by this object
public int intValue()
Return the value of the wrapped primitive
intValue in interface JIDLNumber
value that is wrapped by this object
public long longValue()
Return the value of the wrapped primitive
longValue in interface JIDLNumber
value that is wrapped by this object
public void setValue(int value)
Change the value of the wrapper object
value - primitive value to wrap for use in the export bridge
public void setValue(com.idl.javaidl.JIDLNumber value)
Change the value of the wrapper object
setValue in interface JIDLNumber
value - JIDLNumber to wrap for use in the export bridge
public short shortValue()
Return the value of the wrapped primitive
shortValue in interface JIDLNumber
value that is wrapped by this object
public java.lang.String toString()
Return the value of the wrapped primitive
toString in class Object
value that is wrapped by this object